package retry;

import model.RpcResponse;

import java.util.concurrent.Callable;

/**
 * 重试策略接口
 */
public interface RetryStrategy {
    RpcResponse retry(Callable<RpcResponse> callable) throws Exception;
}
